package com.chukun.gateway.client.anno;

import com.chukun.gateway.client.enums.ApiProtocol;

import java.lang.annotation.*;

/**
 * @author chukun
 * @version 1.0.0
 * @description 服务定义
 * @createTime 2023/11/26 21:29
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ApiService {

    String serviceId();

    String version() default "1.0.0";

    ApiProtocol protocol();

    String patternPath();
}
